package com.addressbook;

/**
 * @author zjs
 */
public class Contacts {
    private String name;
    private String number;
    private int type;
    private String label;
    private String photoUri;

    public Contacts(String name, String number) {
        this.name = name;
        this.number = number;
    }

    public Contacts(String name, String number, int type, String label) {
        this.name = name;
        this.number = number;
        this.type = type;
        this.label = label;
    }

    public Contacts(String name, String number, int type, String label, String photoUri) {
        this.name = name;
        this.number = number;
        this.type = type;
        this.label = label;
        this.photoUri = photoUri;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getPhotoUri() {
        return photoUri;
    }

    public void setPhotoUri(String photoUri) {
        this.photoUri = photoUri;
    }

    @Override
    public String toString() {
        return "Contacts{" +
                "name='" + name + '\'' +
                ", number='" + number + '\'' +
                ", type=" + type +
                ", label='" + label + '\'' +
                ", photoUri='" + photoUri + '\'' +
                '}';
    }
}
